﻿using System.Web.Mvc;
using Yz.Core.Extensions;
using Yz.Model.Dal;

namespace Yz.Manage.Controllers
{
    [AllowAnonymous]
    public class AccountController : BaseManageController
    {
        public ActionResult Index()
        {

            return View();
        }

        [HttpPost]
        public JsonResult Login()
        {
            return Json(new { });
        }
        [HttpPost]
        public void ExportDbDic()
        {
            var excel = YzContext.GetInstance().GetDbDicNPOIExcel();
            excel.ExcelName = excel.NPOISheets[0].SheetName + "数据字典.xls";
            base.ExportExcel(excel);
        }
    }
}